<include file="Common:head" title="控制板" />
<include file="Common:left" title="控制板" />
<div class="admin-content">
    <div class="admin-content-body">
        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">首页</strong> /
                <small>个人中心</small>
            </div>
        </div>


        <div class="am-g">
            <div class="am-u-sm-12">
                <form class="am-form am-form-horizontal" action="{:U('UserInfo/doEdit')}" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="users_id"  value="{$userInfo.users_id}" >
                    <div class="am-form-group">
                        <label for="user-name" class="am-u-sm-3 am-form-label">用户名:</label>
                        <div class="am-u-sm-9">
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                                <input name="name"  value="{$userInfo.name}" >
                            </label>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-email" class="am-u-sm-3 am-form-label">密码:</label>
                        <div class="am-u-sm-9">
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                                <input name="pass"  value="{$userInfo.pass}" >
                            </label>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label for="user-phone" class="am-u-sm-3 am-form-label">电话:</label>
                        <div class="am-u-sm-9">
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                                <input name="phone"  value="{$userInfo.phone}" >
                            </label>
                        </div>
                    </div>

                    <div class="am-form-group">
                        <label for="user-QQ" class="am-u-sm-3 am-form-label">E-Mail:</label>
                        <div class="am-u-sm-9">
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                                <input name="mail"  value="{$userInfo.mail}" >
                            </label>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-intro" class="am-u-sm-3 am-form-label">原照片:</label>
                        <div class="am-u-sm-9">
                            <img src="__PUBLIC__/img/{$userInfo.pic}" width="48" height="48" style="border-radius: 50%">
                        </div>
                    </div>
                    <div class="am-form-group">
                        <label for="user-intro" class="am-u-sm-3 am-form-label">更改照片:</label>
                        <div class="am-u-sm-9">
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                                <input type="file" name="pic" >
                            </label>
                        </div>
                    </div>
                    <div class="am-form-group">
                        <div class="am-u-sm-9 am-u-sm-push-3">
                            <input type="submit" class="am-btn am-btn-primary"  value="保存" >
                            <input type="reset" class="am-btn am-btn-primary"  value="重置" >
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<include file="Common:foot" title="控制板" />